package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(30);not null"`
	Password string `gorm:"type:varchar(32);not null"`
}
type Novel struct {
	gorm.Model
	Title   string `gorm:"type:varchar(55);not null"`
	Content string `gorm:"type:text;not null"`
	Author  string `gorm:"type:varchar(50);not null"`
}
